//
//  UIImageView+Download.h
//  BuDeJie
//
//  Created by haoran on 16/4/16.
//  Copyright © 2016年 xuhaoran. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <SDWebImage/UIImageView+WebCache.h>
@interface UIImageView (Download)
/**
 *  设置imageView显示的图片
 *
 *  @param originalImageURL  原图URL
 *  @param thumbnailImageURL 缩略图URL
 *  @param placeholderImage  占位图片
 *  @param completionBlock   获取图片完毕之后会调用的block
 */
-(void)xhr_setImageWithOriginalImageURL:(NSString *)originalImageURL thumbnailImageURL:(NSString *)thumbnailImageURL placeholderImage:(UIImage *)placeholderImage completed:(SDWebImageCompletionBlock)completionBlock;

-(void)xhr_setImageWithOriginalImageURL:(NSString *)originalImageURL thumbnailImageURL:(NSString *)thumbnailImageURL completed:(SDWebImageCompletionBlock)completionBlock;

-(void)xhr_setImageWithOriginalImageURL:(NSString *)originalImageURL thumbnailImageURL:(NSString *)thumbnailImageURL placeholderImage:(UIImage *)placeholderImage;

-(void)xhr_setImageWithOriginalImageURL:(NSString *)originalImageURL thumbnailImageURL:(NSString *)thumbnailImageURL;


@end
